package enumxcy;

public class TestEnum {
        public static  void  main(String []args){

            Student s1=new Student();
            //System.out.println(s1==s2);

        }
    }

    class Student{
        private  static Student student=new Student();
        public Student (){
            //System.out.println("studeng is initialized");
        }
        public  Student getInstannce()
        {
            return student;
        }

    }
